home *** CD-ROM | disk | FTP | other *** search
/ Joint Education Initiative / Joint Education Initiative.iso / dos / utils / pcdeclsp.doc < prev    next >
Text File  |  1990-07-22  |  4KB  |  55 lines

  1. ***** File DECOMP.TXT                                                         
  2.                                                                               
  3.     An MS-DOS program (PCDECLSP.COM) based on the previous pixel algorithm    
  4. is included in the SOFTWARE directory.   It reads the header and decompresses 
  5. the associated data file.  The output is a FITS file with minimal header.  A  
  6. complete FITS header can be reconstructed by using the original extension     
  7. header which carries information about the compression technique as well as   
  8. the original astrometry keywords and processing comments.                     
  9.                                                                               
  10.                           Sample FITS Header                                  
  11.                                                                               
  12. SIMPLE  =                    T  / BASIC FITS FORMAT                           
  13. BITPIX  =                   16  / 2-BYTE TWO'S COMPL INTEGERS                 
  14. NAXIS   =                    2  / NUMBER OF AXES                              
  15. NAXIS1  =                 2048  / PIXELS PER ROW                              
  16. NAXIS2  =                 2048  / LINES PER IMAGE                             
  17. END
  18.                                                                            
  19. If no file name is specified on the command line, the program will prompt for 
  20. one.  If only one name is given on the command line, it is assumed to be the  
  21. input file, and the output file will be given the same file name except that  
  22. the extension will be set to '$$$'.  If two names are given on the command    
  23. line, the first is taken as the input file, the second as the output file.    
  24. The data file is assumed to have the extension .IMQ, but this can be changed  
  25. by specifying a third file name on the command line.                          
  26.                                                                               
  27. EXAMPLES:                                                                     
  28.                                                                               
  29. >pcdeclsp                                                                     
  30.       - asks for header file name, reads data from *.IMQ, makes *.$$$ as      
  31.         output                                                                
  32. >pcdeclsp lspn1227.hdr
  33.       - reads data from LSPN0094.IMQ, makes LSPN0094.$$$ as output            
  34. >pcdeclsp lspn1227.hdr d:lspn1227.fit
  35.       - reads data from LSPN0094.IMQ, makes LSPN0094.FIT on drive D:          
  36. >pcdeclsp lspn1227.hdr d:lspn1227.fit lspn1227.dat
  37.       - reads data from LSPN0094.DAT, makes LSPN0094.FIT on drive D:          
  38.                                                                               
  39. Version 1.0 written 1/90 by                                                   
  40.            A. Warnock                                                         
  41.            ST Systems Corp.                                                   
  42.            NASA/Goddard Space Flight Center                                   
  43.            Code 681                                                           
  44.            Greenbelt, MD 20771                                                
  45.            (301)286-3965                                                      
  46.            SPAN - STARS::WARNOCK                                              
  47.                   6168::WARNOCK                                               
  48.            Internet - warnock@stars.gsfc.nasa.gov                             
  49.                       warnock@[128.183.84.7]                                  
  50.                                                                               
  51. Version 1.1, 3/90 by AW3 - saves correct input buffer length in do_data       
  52.                            to fix a bug in carrying a new 16-bit value        
  53.                            from the end of one input buffer to the            
  54.                            beginning of the next.                             
  55.